package com.example.springboothibernate.service;

import com.example.springboothibernate.entity.User;
import com.example.springboothibernate.unitls.Result;

public interface UserService {
    Result getByNameAndAge(String name, int age);

    Result queryAll();

    Result getById();

    Result updateById(User user);

    Result addUser(User user);

    Result deleteUser(Integer id);

    Result findAll();

}